//
//  EditSexTableViewCell.m
//  UniversalApp
//
//  Created by 志刚杨 on 2018/1/31.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import "EditSexTableViewCell.h"

@implementation EditSexTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    if(curUser.sex == UserGenderUnKnow)
    {
        self.sexL.text = ASLocalizedString(@"未知");
    }
    else  if(curUser.sex == UserGenderMale)
    {
        self.sexL.text = ASLocalizedString(@"男");

    }
    else  if(curUser.sex == UserGenderFemale)
    {
        self.sexL.text = ASLocalizedString(@"女");
    }
    
    self.sexL.textColor = CBC;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
